package com.tuling.jvm;


import org.openjdk.jol.info.ClassLayout;

public class JolSimple {
    public static void main(String[] args) {
        ClassLayout layout = ClassLayout.parseInstance(new Object());
        System.out.println(layout.toPrintable());

        System.out.println(ClassLayout.parseInstance(new int[]{1,2}).toPrintable());

        System.out.println(ClassLayout.parseInstance(new Math()).toPrintable());
    }
}
